package com.tledu.operator;

public class Operator05 {
    public static void main(String[] args) {
        String title = "今天值日的人是：";
        String name = "张三";
        System.out.println(title+name);
        // 别的字符和字符串运算之后得到也是字符串
        double pi = 3.1415926;
        int r = 15;
        System.out.println("PI=" + pi);
        String res = "结果";
        System.out.println(res + pi + r);
        System.out.println(pi + r + res);
        // 任何基本类型和字符串运算之后得到还是字符串

    }
}
